import request from '@/utils/request'

// 查询软著申请情况列表
export function listRuanzhuInfo(query) {
  return request({
    url: '/manage/ruanzhuInfo/list',
    method: 'get',
    params: query
  })
}

// 查询软著申请情况详细
export function getRuanzhuInfo(id) {
  return request({
    url: '/manage/ruanzhuInfo/' + id,
    method: 'get'
  })
}

// 新增软著申请情况
export function addRuanzhuInfo(data) {
  return request({
    url: '/manage/ruanzhuInfo',
    method: 'post',
    data: data
  })
}

// 修改软著申请情况
export function updateRuanzhuInfo(data) {
  return request({
    url: '/manage/ruanzhuInfo',
    method: 'put',
    data: data
  })
}

// 删除软著申请情况
export function delRuanzhuInfo(id) {
  return request({
    url: '/manage/ruanzhuInfo/' + id,
    method: 'delete'
  })
}

// 发生短信
export function sendSms(data) {
  return request({
    url: '/manage/ruanzhuInfo/sendMessage',
    method: 'post',
    data: data
  })

}